<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:sinox="http://www.sinosoft.com.cn/sinox"
	xmlns:p="http://primefaces.org/ui">
	
	<ui:decorate template="/layout/input/editable-template.xhtml">
		<!-- 第一行 -->
		<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
			<ui:param name="compBean1Id" value="name" />
			<ui:param name="compBean1Lable" value="活动名称" />
			<ui:param name="compBean1Required" value="true" />
			
			<ui:define name="compBean1Content">
				<h:inputHidden id="initName" value="#{partViewBean.fields.name}" />
				<h:inputText id="#{compBean1Id}" styleClass="{required:true}" value="#{partViewBean.fields.name}" />
			</ui:define>
			
			<ui:param name="compBean2Id" value="typeString" />
			<ui:param name="compBean2Lable" value="活动类型" />
			<ui:param name="compBean2Editable" value="false" />
			
			<ui:define name="compBean2Content">
				 <h:outputText value="#{partViewBean.fields.typeString}" />
			</ui:define>
		</ui:decorate>
		
		<!-- 第二行 -->
		<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
			<ui:param name="compType" value="single" />
			
			<ui:param name="compBean1Id" value="description" />
			<ui:param name="compBean1Lable" value="流程描述" />
			
			<ui:define name="compBean1Content">
				 <h:inputText id="#{compBean1Id}" value="#{partViewBean.fields.description}" />
			</ui:define>
		</ui:decorate>
		
		<!-- 第三行 -->
		<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
			<ui:param name="compBean1Id" value="subProcessId" />
			<ui:param name="compBean1Lable" value="子流程ID" />
			
			<ui:define name="compBean1Content">
				 <h:inputText id="#{compBean1Id}" value="#{partViewBean.fields.subProcessId}" />
			</ui:define>
			
			<ui:param name="compBean2Id" value="subProcessKey" />
			<ui:param name="compBean2Lable" value="子流程KEY" />
			
			<ui:define name="compBean2Content">
				 <h:inputText id="#{compBean2Id}" value="#{partViewBean.fields.subProcessKey}" />
			</ui:define>
		</ui:decorate>
		
		<!-- 第四行 -->
		<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
			<ui:param name="compType" value="single" />
			<ui:param name="compBean1Id" value="outcome" />
			<ui:param name="compBean1Lable" value="执行表达式" />
			
			<ui:define name="compBean1Content">
				 <h:inputText id="#{compBean1Id}" value="#{partViewBean.fields.outcome}" />
			</ui:define>
		</ui:decorate>
		
		<!-- 第五行 -->
		<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
			<ui:param name="compBean1Id" value="continue" />
			<ui:param name="compBean1Lable" value="活动执行方式" />
			
			<ui:define name="compBean1Content">
				 <sinox:selectOneRadio id="#{compBean1Id}" value="#{partViewBean.fields.continue}"
					items="#{bpmSelectItemsService.items.continue}" />
			</ui:define>
		</ui:decorate>
		
	</ui:decorate>
</ui:composition>